let g:which_key_map =  {}
let g:which_key_map.f = {
			\ 'name' : '+buffer' ,
			\ 'w' : [':Buffers'        , 'Buffer List']        ,
			\ 'd' : [':Files'        , 'Search Files']        ,
			\ 'r' : [':CocFzfList'        , 'fzfpad']   ,
			\ 'f' : [':BLines'    , 'search in buffers']    ,
			\ 'j' : [':Rg'  , 'Search in directory']     ,
			\ 'b' : [':Lines'     , 'Fzf search']     ,
			\ 'n' : [':bnext'     , 'next-buffer']     ,
			\ 'p' : [':bprevious' , 'previous-buffer'] ,
			\ 'c' : [':bdelete'     , 'close-buffer']     ,
			\ }
let g:which_key_map.c={
			\ 'name' : '+control pad' ,
			\ 'h' : [':e ~/.vim/plug-config/whichkey.vim'     , 'whichkey map']     ,
			\ 'k' : [':e ~/.vim/plug-config/hotkey.vim'     , 'hotkey map']     ,
			\ 'r' : [':source ~/.vimrc'     , 'reload config']     ,
			\ 'i' : [':e ~/.vim/plug-config/pluginlist.vim'     , 'plugin modify']     ,
			\ 'c' : [':nohlsearch'     , 'cancel highlights']     ,
			\ 'w' : [':w'     , 'Save']     ,
			\ 'q' : [':q'     , 'Quit']     ,
			\ 'e' : [':CocCommand explorer'     , 'Quit']     ,
			\ }
let g:which_key_map.h = 'Index'
let g:which_key_map.t = { 
			\'name' : '+coccommand' ,
			\'s' : 'Translator' ,
			\'c' : 'CocCommand' ,
			\'l' : 'List Coc' ,
			\'m' : [':CocCommand snippets.editSnippets' , 'Modify Snippets'] ,
			\}
let g:which_key_map.q = {
			\ 'name' : '+Modify symbol' ,
			\ 'a' : [':g/^\s*$/d'     , 'delete empty lines']     ,
			\ 'm' : [':%s///gg'     , 'delete ^M ']     ,
			\ 'n' : [':%s/\n//gg'     , 'delete Enter ']     ,
			\ 'r' : [':Format'     , 'whole file restyle ']     ,
			\ }

let g:which_key_map.e = { 
			\ 'name' : '+Function' ,
			\ 'p' : [':call Patsnap()' , 'Patent_Search'] ,
			\ 'b' :  'Add ranger number'     ,
			\}
let g:which_key_map.y = { 
			\ 'name' : '+Copy methods' ,
			\ 'w' : ['\"\+ye' , 'copy to clipboard'] ,
			\ 'j' : ['\"\+y' , 'copy a word to clipboard'] ,
			\ 'y' : ['\"\+yy','copy line to clipboard']      ,
			\ 'e' : ['\"\+y\$','copy from cursor to end to clipboard']      ,
			\}
